#include "MeshNode.h"


bool MeshNode::VOnRender(IScene *pScene)
{
	RandomEngineApp::Get()->GetRenderer()->VSetMaterial(dynamic_cast<RE_Material*>(m_pMaterial.get()));
	RandomEngineApp::Get()->GetRenderer()->VDrawMesh(dynamic_cast<RE_Mesh*>(m_pMesh.get()));
	return true;
}